package com.connection.second.wallpaper.domain.entity;

import com.connection.second.common.xss.Xss;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.connection.second.common.annotation.Excel;
import com.connection.second.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * wall对象 paper_wall
 * 
 * @author ruoyi
 * @date 2024-11-12
 */
@ApiModel(value = "PaperWall", description = "壁纸实体")
@Data
public class PaperWall extends BaseEntity implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 唯一id */
    private Long id;

    /** 壁纸描述 */
    @Excel(name = "壁纸描述")
    @Xss(message = "壁纸描述不能包含脚本字符")
        private String description;

    /** 壁纸所属分类id */
    @Excel(name = "壁纸所属分类id")
    private Long classId;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String smallPicurl;

    /** 标签组 */
    @Excel(name = "标签组")
    @Xss(message = "标签组不能包含脚本字符")
    private String tabs;

    /** 评分 */
    @Excel(name = "评分")
    private String score;

    /** 发布者昵称 */
    @Excel(name = "发布者昵称")
    @Xss(message = "昵称不能包含脚本字符")
    private String nickname;

    /** 发布者id */
    @Excel(name = "发布者id")
    private Long userId;

    /** 下载次数 */
    @Excel(name = "下载次数")
    private Long downloads;

    /** 收藏数 */
    @Excel(name = "收藏数")
    private Long collections;

    /** 状态 0-未审核 1-审核通过 2-审核未通过 */
    @Excel(name = "状态")
    private String status;

}
